Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer commented Oct 22, 2025

Changes in commit 1:

Changes in commit 2:

This is also part (but not all) of the changes needed to unblock #147945

r? @jdonszelmann

Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
@rustbot
Copy link
Collaborator

rustbot commented Oct 22, 2025

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 22, 2025
@jdonszelmann
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 25, 2025

📌 Commit 24502dd has been approved by jdonszelmann

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 25, 2025
bors added a commit that referenced this pull request Oct 25, 2025
Rollup of 4 pull requests

Successful merges:

 - #143361 (Stop passing resolver disambiguator state to AST lowering.)
 - #148000 (Improvements to attribute suggestions)
 - #148007 (chore: Update to the latest annotate-snippets)
 - #148088 (compiletest: Simplify passing arguments to spawned test threads)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Oct 25, 2025
Rollup of 4 pull requests

Successful merges:

 - #143361 (Stop passing resolver disambiguator state to AST lowering.)
 - #148000 (Improvements to attribute suggestions)
 - #148007 (chore: Update to the latest annotate-snippets)
 - #148088 (compiletest: Simplify passing arguments to spawned test threads)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d182d8e into rust-lang:master Oct 25, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Oct 25, 2025
rust-timer added a commit that referenced this pull request Oct 25, 2025
Rollup merge of #148000 - JonathanBrouwer:wipnew2, r=jdonszelmann

Improvements to attribute suggestions

Changes in commit 1:
- Add `AcceptContext::suggestions`, which retrieves the suggestions for the currently parsing attribute
- This happens to fix a bug in the way `#[macro_export`]. Closes #147987

Changes in commit 2:
- Add a check to the suggestions function so the suggestions for attributes in cfg_attr are nicer. Fixes #147693

This is also part (but not all) of the changes needed to unblock #147945

r? `@jdonszelmann`
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Oct 27, 2025
Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#143361 (Stop passing resolver disambiguator state to AST lowering.)
 - rust-lang/rust#148000 (Improvements to attribute suggestions)
 - rust-lang/rust#148007 (chore: Update to the latest annotate-snippets)
 - rust-lang/rust#148088 (compiletest: Simplify passing arguments to spawned test threads)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attribute suggestions are not sensable in combination with cfg_attr

4 participants